#ifndef _SNAKE_SNAKEGAME_WINWINDOW_H__
#define _SNAKE_SNAKEGAME_WINWINDOW_H__

#include <Render/Include/IWinWindow.h>

class WinWindow : public Render::IWinWindow
{
protected:
	
	HWND _hwnd;


public:
	
	WinWindow();
	virtual ~WinWindow(void);
	// to initialize a window
	HWND Create(HINSTANCE hinst,
			    LPCTSTR clsname,
     		    LPCTSTR wndname,
				HWND parent   = NULL,
				DWORD dStyle  = WS_OVERLAPPEDWINDOW,
	            DWORD dXStyle = 0L,
				int x         = CW_USEDEFAULT,
				int y         = CW_USEDEFAULT,
				int width     = CW_USEDEFAULT,
				int height    = CW_USEDEFAULT);

	BOOL Show(int dCmdShow = SW_SHOWNORMAL);

	HWND getHWND();

	virtual void close();

};

#endif // _SNAKE_SNAKEGAME_WINWINDOW_H__
